String.prototype.g = function() {
  return this.replace(/ *\n */g,'');
};